@keyframes rotate {

  0% {
    transform: rotate(-1turn);
  }

  100%  {
    transform: none;
  }
}

.rotate {
  animation-name: rotate;
  animation-timing-function: ease-in-out;
}